package xionglizhen.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data//自动生成get，set
@NoArgsConstructor//创建无参构造
@AllArgsConstructor//创建全参构造
@Builder//生成Builder类，支持链路操作

//@TableName("illnessKind")//mybatisPlus

public class IllnessKind {
    @TableId(type= IdType.AUTO)
    public Integer id;
    public String name;
    public String info;
    public Date createTime;
    public Date updateTime;
}
